# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer:
pkgname=way-displays
pkgver=1.8.1
pkgrel=2
pkgdesc="Auto Manage Your Wayland Displays"
url="https://github.com/alex-courtis/way-displays"
arch="all"
license="MIT"
makedepends="
	eudev-dev
	libinput-dev
	wayland-dev
	wayland-protocols
	yaml-cpp-dev
	"
subpackages="$pkgname-doc"
source="https://github.com/alex-courtis/way-displays/archive/$pkgver/way-displays-$pkgver.tar.gz"
options="!check"  # no tests provided

build() {
	make
}

package() {
	make install PREFIX=/usr PREFIX_ETC=/ DESTDIR="$pkgdir"
}

sha512sums="
e93f71f98cc3294b1973ca0c99ef72d284d882d37242128552416560990e055dc9fd77203934b8a3f1f0c034c24041728d0131d53eafe073066440896bcd3af9  way-displays-1.8.1.tar.gz
"
